﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebServer.Models
{
    public class UserEntrustEntity
    { /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        /// 用户
        /// </summary>
        public int UserID
        {
            get;
            set;
        }
        /// <summary>
        /// 交易所
        /// </summary>
        public int CenterID
        {
            get;
            set;
        }
        public string CenterName { get; set; }
        /// <summary>
        /// 代码
        /// </summary>
        public string Code
        {
            get;
            set;
        }
        public string Name { get; set; }
        /// <summary>
        /// 量
        /// </summary>
        public int Amount
        {
            get;
            set;
        }
        /// <summary>
        /// 当前价
        /// </summary>
        public decimal CurPrice
        {
            get;
            set;
        }

        /// <summary>
        /// 委托时间
        /// </summary>
        public DateTime CreateTime
        {
            get;
            set;
        }

        /// <summary>
        /// 是否完成
        /// </summary>
        public int IsFinish
        { get; set; }

        /// <summary>
        /// Ture-买，False-卖
        /// </summary>
        public bool Isbuy
        { get; set; }

        /// <summary>
        /// 服务费
        /// </summary>
        public decimal Poundage { get; set; }

        /// <summary>
        /// 成交价
        /// </summary>
        public decimal LastPrice { get; set; }
    }
}
